using System;

namespace Datacollection.Data.Models
{
    /// <summary>
    /// 测试结果基类
    /// </summary>
    public abstract class TestResult
    {
        /// <summary>
        /// 测试编号
        /// </summary>
        public int TestId { get; set; }
        
        /// <summary>
        /// 测试项类型（DCR、IW、IR、HIPOT等）
        /// </summary>
        public string TestType { get; set; }
        
        /// <summary>
        /// 测试状态（OK、HI等）
        /// </summary>
        public string Status { get; set; }
        
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime TestTime { get; set; } = DateTime.Now;
        
        /// <summary>
        /// 关联的条码信息
        /// </summary>
        public string Barcode { get; set; }
    }
}
    